import orc_config from './config/orc_config';
import orc_data from './data/orc_data';
import orc_utils from './utils/orc_utils';
import orc_net from './net/orc_net';
import orc_url_config from './net/orc_url_config';
import orc_event from './event/orc_event';
import orc_event_id from './event/orc_event_id';
import orc_sound from './sound/orc_sound';
import orc_prefab from './prefab/orc_prefab';
import orc_res from './prefab/orc_res';

export default class orc{
    public static orc_config:any = orc_config;  
    public static orc_data:any = orc_data;    
    public static orc_utils:any = orc_utils;
    public static orc_net:any = orc_net;
    public static orc_url_config:any = orc_url_config;
    public static event_manager:any = orc_event;
    public static event_id:any = orc_event_id;
    public static sound_manager:any = orc_sound;
    public static prefab_manager:any = orc_prefab;
    public static res_manager:any = orc_res;
    public static log(value1:any,value2?:any,value3?:any,value4?:any)
    {
        if(orc_config.console === true)
        {
            if(value2 == undefined)
            {
                console.log(value1);
            }
            else if(value2 != undefined)
            {
                console.log(value1,value2);
            }
            else if(value3 != undefined)
            {
                console.log(value1,value2,value3);
            }
            else if(value4 != undefined)
            {
                console.log(value1,value2,value3,value4);
            }            
        }
        else
        {
            //orc update
        }
    }
}




